<include file="Public:header"/>

<div class="main main_grey">
	<div class="info_wrap">
		<form action="" method="post" class="ajax-form">
		<div class="form_user">
			<div class="title">
				<h2>资料完善</h2>
			</div>
			<div class="clearfix content">
				<div class="fl form_info">
					<div class="row">
						<span class="icon icon_user">&nbsp;</span>
						<span class="name none">姓名</span>
						<input type="text" name="realname" value="{$user['realname']}" placeholder="姓名" class="text" datatype="*"/>
						<p class="error_tips Validform_checktip"></p>
					</div>
					<div class="role">
						<ul class="clearfix">
							<li>
								<label>
									<input type="radio" name="sex" value="1" {$user['sex'] == 1 ? 'checked' : ''} class="radio_vlign" /> 男
								</label>	
							</li>
							<li>
								<label>
									<input type="radio" name="sex" value="2" {$user['sex'] == 2 ? 'checked' : ''} class="radio_vlign" /> 女
								</label>	
							</li>
						</ul>
					</div>
					<div class="select city-select-box">
						{:W('Plugin/area_select', array('', 0, 1, 0 ,'province_id,city_id,area_id', $user['province_id'], $user['city_id'], $user['area_id']))}
					</div>
					<div class="upload">
						{:W('Plugin/upload_file', array('identification_id', 'img', '证件照', '', 0, '', 0, $user['lawyer_info']['identification_id']))}
					</div>	
					<div class="row">
						<span class="icon icon_id">&nbsp;</span>
						<span class="name none">执业证号</span>
						<input type="text" name="practice_no" value="{$user['lawyer_info']['practice_no']}" placeholder="请输入执业证号" class="text" datatype="*"/>
						<p class="error_tips Validform_checktip"></p>
					</div>
					<div class="row">
						<span class="icon icon_company">&nbsp;</span>
						<span class="name none">工作单位</span>
						<input type="text" name="work_unit" value="{$user['lawyer_info']['work_unit']}" placeholder="请输入工作单位" class="text" datatype="*" />
						<p class="error_tips Validform_checktip"></p>
					</div>
					<div class="select">
						<php>
							$skilled_list = D('Category')->get_list('skilled');
						</php>
						<span class="name none">擅长领域</span>
						<select name="skilled_id" class="type" datatype="*">
							<option value="">擅长领域</option>
							<volist name="skilled_list" id="rs">
								<option value="{$rs['id']}" {$user['lawyer_info']['skilled_id'] == $rs['id'] ? 'selected' : ''}>{$rs['title']}</option>
							</volist>
						</select>
					</div>
				
					<div class="submit">
						<input type="submit" value="完成" class="btn" />
					</div>
				</div>
				<div class="fr writing_info">
					<dl>
						<dt>律师注册说明</dt>
						<dd>1、本栏目的律师注册申请需要经米律审核通过。</dd>
						<dd>2、注册申请通过后，可作为米律的平台合作律师。</dd>
						<dd>3、米律的平台律师，应遵守米律指定的合作规则。</dd>
					</dl>
				</div>
			</div>
		</div>
		</form>
	</div>
</div>

<include file="Public:footer"/>